/**@Title   HelloWorld.java
 * @Package com.gong
 * @Desc    
 * @Author  GongWenhua
 * @Date    2017年6月29日 上午9:39:07
 * @Version 1.0
*/
package com.gong;

import java.util.Date;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class JsonControler {
	
	@RequestMapping("getUser")
	public User getUser(){
		User user = new User();
		user.setUserName("Wen");
		user.setUserId("100");
		user.setCreateDate(new Date());
		return user;
	}

}
